<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Tea'N'Coffee</title>
</head>
<body>
<!-- USER -->
<div id="user">
	<%
		if (session == null)
		{
			out.println("<a href=\"login.jsp\"> Login </a>");
		} else {
			if (session.getAttribute("customerAuthed") == "true")
			{
				out.println("Welcome, " + session.getAttribute("customerName"));
				out.println("(<a href=\"Logout\">Logout</a>)");
			} else {
				out.println("<a href=\"login.jsp\"> Login </a>");
			}
		}
	%>
</div>
<div id="basket">
	<%
		/*if (session.getAttribute("customerBasket") != null)
		{
			
		} else {
			out.println("Your basket is empty.");
		}*/
	%>
</div>
<hr>